#!/bin/sh


# build opencv libraries
mkdir opencv
cd opencv
git clone https://github.com/Itseez/opencv.git
mkdir release
cd release
sudo cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..

# build userland libraries

mkdir -p /opt/vc/
cd /opt/vc/
git clone https://github.com/raspberrypi/userland.git
cd userland
./buildme


